home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
Aldus Fetch™
/
Fetch Browser
/
Fetch Browser.rsrc
/
CODE_12_GReadFile.txt
< prev
next >
Wrap
Text File
|
1992-10-27
|
24KB
|
423 lines
# near model CODE resource
# jump table entries: 4552-4554 (3 of them)
00000000 4E56 0000 link A6, 0
00000004 226E 0008 movea.l A1, [A6 + 0x8]
00000008 2069 0008 movea.l A0, [A1 + 0x8]
0000000C 2050 movea.l A0, [A0]
0000000E 2F28 0008 move.l -[A7], [A0 + 0x8]
00000012 4EBA 0424 jsr [PC + 0x424 /* 00000438 */]
00000016 4E5E unlink A6
00000018 205F movea.l A0, [A7]+
0000001A DEFC 000A add.w A7, 0xA /* '\n' */
0000001E 4ED0 jmp [A0]
export_569:
00000020 4E56 FEC2 link A6, -0x013E
00000024 48E7 0028 movem.l -[A7], A2,A4
00000028 286E 0008 movea.l A4, [A6 + 0x8]
0000002C 2254 movea.l A1, [A4]
0000002E 2069 0008 movea.l A0, [A1 + 0x8]
00000032 2050 movea.l A0, [A0]
00000034 2468 0024 movea.l A2, [A0 + 0x24]
00000038 2452 movea.l A2, [A2]
0000003A 41EE FF00 lea.l A0, [A6 - 0x100]
0000003E 703F moveq.l D0, 0x3F
label00000040:
00000040 20DA move.l [A0]+, [A2]+
00000042 51C8 FFFC dbf D0, -0x6 /* 00000040 */
00000046 486E FF00 pea.l [A6 - 0x100]
0000004A 487A 0052 pea.l [PC + 0x52 /* 0000009E, value 0x4E56 'NV', cstring "" */]
0000004E 487A 004E pea.l [PC + 0x4E /* 0000009E, value 0x4E56 'NV', cstring "" */]
00000052 487A 004A pea.l [PC + 0x4A /* 0000009E, value 0x4E56 'NV', cstring "" */]
00000056 A98B syscall ParamText
00000058 2F3C 0084 0000 move.l -[A7], 0x840000
0000005E 42A7 clr.l -[A7]
00000060 4EAD 20D2 jsr [A5 + 0x20D2 /* export_1046 */]
00000064 7001 moveq.l D0, 0x01
00000066 B05F cmp.w D0, [A7]+
00000068 662A bne +0x2C /* 00000094 */
0000006A 486E FEC2 pea.l [A6 - 0x13E]
0000006E 487A FF90 pea.l [PC - 0x70 /* 00000000, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000072 2F0E move.l -[A7], A6
00000074 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
00000078 2054 movea.l A0, [A4]
0000007A 2F28 0008 move.l -[A7], [A0 + 0x8]
0000007E 4EBA 02F0 jsr [PC + 0x2F0 /* 00000370 */]
00000082 486E FEC2 pea.l [A6 - 0x13E]
00000086 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
0000008A 2054 movea.l A0, [A4]
0000008C 2F28 0008 move.l -[A7], [A0 + 0x8]
00000090 4EBA 03A6 jsr [PC + 0x3A6 /* 00000438 */]
label00000094:
00000094 4CDF 1400 movem.l A2,A4, [A7]+
00000098 4E5E unlink A6
0000009A 2E9F move.l [A7], [A7]+
0000009C 4E75 rts
0000009E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000A0-000000A4
fn000000A0:
000000A0 4E56 FFFC link A6, -0x0004
// end alternate branch 000000A0-000000A4
fn000000A0: // (misaligned)
000000A2 FFFC .invalid <<F/7/7>>
000000A4 2F0C move.l -[A7], A4
000000A6 286E 0008 movea.l A4, [A6 + 0x8]
000000AA 2054 movea.l A0, [A4]
000000AC 1028 001E move.b D0, [A0 + 0x1E]
000000B0 6740 beq +0x42 /* 000000F2 */
000000B2 4AA8 0020 tst.l [A0 + 0x20]
000000B6 661A bne +0x1C /* 000000D2 */
000000B8 42A7 clr.l -[A7]
000000BA 7078 moveq.l D0, 0x78
000000BC 2F00 move.l -[A7], D0
000000BE 4EAD 2332 jsr [A5 + 0x2332 /* export_1122 */]
000000C2 2054 movea.l A0, [A4]
000000C4 215F 0020 move.l [A0 + 0x20], [A7]+
000000C8 2054 movea.l A0, [A4]
000000CA 2F28 0020 move.l -[A7], [A0 + 0x20]
000000CE 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
label000000D2:
000000D2 7078 moveq.l D0, 0x78
000000D4 2D40 FFFC move.l [A6 - 0x4], D0
000000D8 4267 clr.w -[A7]
000000DA 3F2E 0010 move.w -[A7], [A6 + 0x10]
000000DE 486E FFFC pea.l [A6 - 0x4]
000000E2 2254 movea.l A1, [A4]
000000E4 2069 0020 movea.l A0, [A1 + 0x20]
000000E8 2F10 move.l -[A7], [A0]
000000EA 4EAD 0352 jsr [A5 + 0x352 /* export_102 */]
000000EE 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label000000F2:
000000F2 285F movea.l A4, [A7]+
000000F4 4E5E unlink A6
000000F6 205F movea.l A0, [A7]+
000000F8 DEFC 000A add.w A7, 0xA /* '\n' */
000000FC 4ED0 jmp [A0]
000000FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000102 FFFA .invalid <<F/7/7>>
00000104 48E7 0108 movem.l -[A7], D7,A4
00000108 286E 0008 movea.l A4, [A6 + 0x8]
0000010C 204C movea.l A0, A4
0000010E 5088 addq.l A0, 8
00000110 2050 movea.l A0, [A0]
00000112 2D48 FFFA move.l [A6 - 0x6], A0
00000116 4267 clr.w -[A7]
00000118 2F2C FFBE move.l -[A7], [A4 - 0x42]
0000011C 4EAD 0BEA jsr [A5 + 0xBEA /* export_377 */]
00000120 3E1F move.w D7, [A7]+
00000122 4CDF 1080 movem.l D7,A4, [A7]+
00000126 4E5E unlink A6
00000128 205F movea.l A0, [A7]+
0000012A DEFC 000A add.w A7, 0xA /* '\n' */
0000012E 4ED0 jmp [A0]
fn00000130:
00000130 4E56 FFBA link A6, -0x0046
00000134 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00000138 266E 000E movea.l A3, [A6 + 0xE]
0000013C 282E 0008 move.l D4, [A6 + 0x8]
00000140 2844 movea.l A4, D4
00000142 4A2B 0008 tst.b [A3 + 0x8]
00000146 57C7 seq D7
00000148 4407 neg.b D7
0000014A 1007 move.b D0, D7
0000014C 671A beq +0x1C /* 00000168 */
0000014E 2254 movea.l A1, [A4]
00000150 2069 0024 movea.l A0, [A1 + 0x24]
00000154 2050 movea.l A0, [A0]
00000156 244B movea.l A2, A3
00000158 508A addq.l A2, 8
0000015A 703F moveq.l D0, 0x3F
label0000015C:
0000015C 24D8 move.l [A2]+, [A0]+
0000015E 51C8 FFFC dbf D0, -0x6 /* 0000015C */
00000162 36A9 0030 move.w [A3], [A1 + 0x30]
00000166 6030 bra +0x32 /* 00000198 */
label00000168:
00000168 2054 movea.l A0, [A4]
0000016A 2F28 0024 move.l -[A7], [A0 + 0x24]
0000016E 486B 0008 pea.l [A3 + 0x8]
00000172 A907 syscall SetString
00000174 2254 movea.l A1, [A4]
00000176 2069 0024 movea.l A0, [A1 + 0x24]
0000017A 2050 movea.l A0, [A0]
0000017C 2F08 move.l -[A7], A0
0000017E 486B 0008 pea.l [A3 + 0x8]
00000182 4EAD 496A jsr [A5 + 0x496A /* export_2345 */]
00000186 101F move.b D0, [A7]+
00000188 6708 beq +0xA /* 00000192 */
0000018A 3F3C FF94 move.w -[A7], 0xFF94
0000018E 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label00000192:
00000192 2054 movea.l A0, [A4]
00000194 3153 0030 move.w [A0 + 0x30], [A3]
label00000198:
00000198 2054 movea.l A0, [A4]
0000019A 1028 0039 move.b D0, [A0 + 0x39]
0000019E 670E beq +0x10 /* 000001AE */
000001A0 1228 003B move.b D1, [A0 + 0x3B]
000001A4 6702 beq +0x4 /* 000001A8 */
000001A6 C207 and.b D1, D7
label000001A8:
000001A8 0A01 0001 xori.b D1, 0x1
000001AC C001 and.b D0, D1
label000001AE:
000001AE 1C00 move.b D6, D0
000001B0 2054 movea.l A0, [A4]
000001B2 1028 003A move.b D0, [A0 + 0x3A]
000001B6 670E beq +0x10 /* 000001C6 */
000001B8 1228 003C move.b D1, [A0 + 0x3C]
000001BC 6702 beq +0x4 /* 000001C0 */
000001BE C207 and.b D1, D7
label000001C0:
000001C0 0A01 0001 xori.b D1, 0x1
000001C4 C001 and.b D0, D1
label000001C6:
000001C6 1A00 move.b D5, D0
000001C8 3D7C 8002 FFC0 move.w [A6 - 0x40], 0x8002
000001CE 3D7C 8002 FFBE move.w [A6 - 0x42], 0x8002
000001D4 486E FFC2 pea.l [A6 - 0x3E]
000001D8 487A FF26 pea.l [PC - 0xDA /* 00000100, value 0x4E56FFFA */]
000001DC 2F0E move.l -[A7], A6
000001DE 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
000001E2 4267 clr.w -[A7]
000001E4 486B 0008 pea.l [A3 + 0x8]
000001E8 3F13 move.w -[A7], [A3]
000001EA 1F06 move.b -[A7], D6
000001EC 1F05 move.b -[A7], D5
000001EE 2054 movea.l A0, [A4]
000001F0 3F28 003E move.w -[A7], [A0 + 0x3E]
000001F4 3F28 0040 move.w -[A7], [A0 + 0x40]
000001F8 486E FFC0 pea.l [A6 - 0x40]
000001FC 486E FFBE pea.l [A6 - 0x42]
00000200 2F04 move.l -[A7], D4
00000202 4EAD 0BDA jsr [A5 + 0xBDA /* export_375 */]
00000206 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000020A 2054 movea.l A0, [A4]
0000020C 117C 0001 0037 move.b [A0 + 0x37], 0x1
00000212 1028 003B move.b D0, [A0 + 0x3B]
00000216 6726 beq +0x28 /* 0000023E */
00000218 1206 move.b D1, D6
0000021A 0A01 0001 xori.b D1, 0x1
0000021E C001 and.b D0, D1
00000220 671C beq +0x1E /* 0000023E */
00000222 2054 movea.l A0, [A4]
00000224 3D68 0042 FFC0 move.w [A6 - 0x40], [A0 + 0x42]
0000022A 4267 clr.w -[A7]
0000022C 3F2E FFC0 move.w -[A7], [A6 - 0x40]
00000230 3F3C 0001 move.w -[A7], 0x1
00000234 42A7 clr.l -[A7]
00000236 4EAD 03AA jsr [A5 + 0x3AA /* export_113 */]
0000023A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label0000023E:
0000023E 2054 movea.l A0, [A4]
00000240 1028 003C move.b D0, [A0 + 0x3C]
00000244 6716 beq +0x18 /* 0000025C */
00000246 1205 move.b D1, D5
00000248 0A01 0001 xori.b D1, 0x1
0000024C C001 and.b D0, D1
0000024E 670C beq +0xE /* 0000025C */
00000250 3D68 0044 FFBE move.w [A6 - 0x42], [A0 + 0x44]
00000256 3F2E FFBE move.w -[A7], [A6 - 0x42]
0000025A A998 syscall UseResFile
label0000025C:
0000025C 3F2E FFC0 move.w -[A7], [A6 - 0x40]
00000260 0C6E 8002 FFBE cmpi.w [A6 - 0x42], 0x8002
00000266 56C0 sne D0
00000268 4400 neg.b D0
0000026A 1F00 move.b -[A7], D0
0000026C 1F2E 000C move.b -[A7], [A6 + 0xC]
00000270 2F04 move.l -[A7], D4
00000272 4EBA FE2C jsr [PC - 0x1D4 /* 000000A0 */]
00000276 42A7 clr.l -[A7]
00000278 2F04 move.l -[A7], D4
0000027A 4EAD 1D1A jsr [A5 + 0x1D1A /* export_927 */]
0000027E 486E FFC2 pea.l [A6 - 0x3E]
00000282 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
00000286 2054 movea.l A0, [A4]
00000288 1028 003B move.b D0, [A0 + 0x3B]
0000028C 670E beq +0x10 /* 0000029C */
0000028E 316E FFC0 0042 move.w [A0 + 0x42], [A6 - 0x40]
00000294 3D7C 8002 FFC0 move.w [A6 - 0x40], 0x8002
0000029A 6008 bra +0xA /* 000002A4 */
label0000029C:
0000029C 2054 movea.l A0, [A4]
0000029E 317C 8002 0042 move.w [A0 + 0x42], 0x8002
label000002A4:
000002A4 2054 movea.l A0, [A4]
000002A6 1028 003C move.b D0, [A0 + 0x3C]
000002AA 6716 beq +0x18 /* 000002C2 */
000002AC 316E FFBE 0044 move.w [A0 + 0x44], [A6 - 0x42]
000002B2 2054 movea.l A0, [A4]
000002B4 3F28 0044 move.w -[A7], [A0 + 0x44]
000002B8 A998 syscall UseResFile
000002BA 3D7C 8002 FFBE move.w [A6 - 0x42], 0x8002
000002C0 6008 bra +0xA /* 000002CA */
label000002C2:
000002C2 2054 movea.l A0, [A4]
000002C4 317C 8002 0044 move.w [A0 + 0x44], 0x8002
label000002CA:
000002CA 4267 clr.w -[A7]
000002CC 2F2E FFBE move.l -[A7], [A6 - 0x42]
000002D0 4EAD 0BEA jsr [A5 + 0xBEA /* export_377 */]
000002D4 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000002D8 42A7 clr.l -[A7]
000002DA 486B 0008 pea.l [A3 + 0x8]
000002DE 3F13 move.w -[A7], [A3]
000002E0 4EAD 0BFA jsr [A5 + 0xBFA /* export_379 */]
000002E4 2054 movea.l A0, [A4]
000002E6 215F 0032 move.l [A0 + 0x32], [A7]+
000002EA 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
000002EE 4E5E unlink A6
000002F0 205F movea.l A0, [A7]+
000002F2 DEFC 000A add.w A7, 0xA /* '\n' */
000002F6 4ED0 jmp [A0]
000002F8 4E56 0000 link A6, 0
000002FC 70D5 moveq.l D0, 0xFFFFFFD5
000002FE B06E 0010 cmp.w D0, [A6 + 0x10]
00000302 6606 bne +0x8 /* 0000030A */
00000304 3D7C B1DF 0010 move.w [A6 + 0x10], 0xB1DF
label0000030A:
0000030A 4AAE 000C tst.l [A6 + 0xC]
0000030E 661C bne +0x1E /* 0000032C */
00000310 226E 0008 movea.l A1, [A6 + 0x8]
00000314 2069 0008 movea.l A0, [A1 + 0x8]
00000318 2050 movea.l A0, [A0]
0000031A 2268 0024 movea.l A1, [A0 + 0x24]
0000031E 2251 movea.l A1, [A1]
00000320 41ED F960 lea.l A0, [A5 - 0x6A0]
00000324 703F moveq.l D0, 0x3F
label00000326:
00000326 20D9 move.l [A0]+, [A1]+
00000328 51C8 FFFC dbf D0, -0x6 /* 00000326 */
label0000032C:
0000032C 3F2E 0010 move.w -[A7], [A6 + 0x10]
00000330 2F2E 000C move.l -[A7], [A6 + 0xC]
00000334 2F3C 0082 0003 move.l -[A7], 0x820003
0000033A 4EAD 2062 jsr [A5 + 0x2062 /* export_1032 */]
0000033E 4E5E unlink A6
00000340 205F movea.l A0, [A7]+
00000342 DEFC 000A add.w A7, 0xA /* '\n' */
00000346 4ED0 jmp [A0]
00000348 4E56 0000 link A6, 0
0000034C 206E 000C movea.l A0, [A6 + 0xC]
00000350 2050 movea.l A0, [A0]
00000352 4AA8 0034 tst.l [A0 + 0x34]
00000356 670E beq +0x10 /* 00000366 */
00000358 206E 000C movea.l A0, [A6 + 0xC]
0000035C 2050 movea.l A0, [A0]
0000035E 2F28 0034 move.l -[A7], [A0 + 0x34]
00000362 4EAD 31E2 jsr [A5 + 0x31E2 /* export_1592 */]
label00000366:
00000366 4E5E unlink A6
00000368 205F movea.l A0, [A7]+
0000036A 504F addq.w A7, 8
0000036C 4ED0 jmp [A0]
0000036E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000370-00000378
fn00000370:
00000370 4E56 FEB6 link A6, -0x014A
00000374 48E7 0118 movem.l -[A7], D7,A3,A4
// end alternate branch 00000370-00000378
fn00000370: // (misaligned)
00000372 FEB6 48E7 .extension 0xEB6 <<F/2-3/7>> // unimplemented
00000376 0118 btst [A0]+, D0
00000378 266E 0008 movea.l A3, [A6 + 0x8]
0000037C 284B movea.l A4, A3
0000037E 486E FEBA pea.l [A6 - 0x146]
00000382 487A FF74 pea.l [PC - 0x8C /* 000002F8, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000386 2F0E move.l -[A7], A6
00000388 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
0000038C 2F3C 000D 00FA move.l -[A7], 0xD00FA
00000392 1F3C 0001 move.b -[A7], 0x1
00000396 2F0B move.l -[A7], A3
00000398 4EAD 0BCA jsr [A5 + 0xBCA /* export_373 */]
0000039C 42A7 clr.l -[A7]
0000039E 2F0B move.l -[A7], A3
000003A0 4EAD 324A jsr [A5 + 0x324A /* export_1605 */]
000003A4 2E1F move.l D7, [A7]+
000003A6 56C0 sne D0
000003A8 4A00 tst.b D0
000003AA 6714 beq +0x16 /* 000003C0 */
000003AC 2047 movea.l A0, D7
000003AE 2050 movea.l A0, [A0]
000003B0 B7E8 0008 cmpa.l A3, [A0 + 0x8]
000003B4 57C1 seq D1
000003B6 C001 and.b D0, D1
000003B8 6706 beq +0x8 /* 000003C0 */
000003BA 2F0B move.l -[A7], A3
000003BC 4EAD 3252 jsr [A5 + 0x3252 /* export_1606 */]
label000003C0:
000003C0 2F0B move.l -[A7], A3
000003C2 4EAD 1CF2 jsr [A5 + 0x1CF2 /* export_922 */]
000003C6 2054 movea.l A0, [A4]
000003C8 1028 0037 move.b D0, [A0 + 0x37]
000003CC 6712 beq +0x14 /* 000003E0 */
000003CE 422E FF00 clr.b [A6 - 0x100]
000003D2 486E FEF8 pea.l [A6 - 0x108]
000003D6 4267 clr.w -[A7]
000003D8 2F0B move.l -[A7], A3
000003DA 4EBA FD54 jsr [PC - 0x2AC /* 00000130 */]
000003DE 601E bra +0x20 /* 000003FE */
label000003E0:
000003E0 2054 movea.l A0, [A4]
000003E2 4AA8 0012 tst.l [A0 + 0x12]
000003E6 6710 beq +0x12 /* 000003F8 */
000003E8 487A FF5E pea.l [PC - 0xA2 /* 00000348, value 0x4E560000 'NV\0\0', cstring "NV" */]
000003EC 2F0E move.l -[A7], A6
000003EE 2054 movea.l A0, [A4]
000003F0 2F28 0012 move.l -[A7], [A0 + 0x12]
000003F4 4EAD 18D2 jsr [A5 + 0x18D2 /* export_790 */]
label000003F8:
000003F8 2F0B move.l -[A7], A3
000003FA 4EAD 110A jsr [A5 + 0x110A /* export_541 */]
label000003FE:
000003FE 42A7 clr.l -[A7]
00000400 2F0B move.l -[A7], A3
00000402 4EAD 1D1A jsr [A5 + 0x1D1A /* export_927 */]
00000406 486E FEBA pea.l [A6 - 0x146]
0000040A 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
0000040E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000412 4E5E unlink A6
00000414 2E9F move.l [A7], [A7]+
00000416 4E75 rts
export_570:
00000418 4E56 0000 link A6, 0
0000041C 4E5E unlink A6
0000041E 2E9F move.l [A7], [A7]+
00000420 4E75 rts
00000422 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000426 0000 2F2E ori.b D0, 0x2E /* '.' */
0000042A 000C 4EAD ori.b A4, 0xAD
0000042E 313A 4E5E move.w -[A0], [PC + 0x4E5E /* 0000528E, cstring ""<EOF> */]
00000432 205F movea.l A0, [A7]+
00000434 504F addq.w A7, 8
00000436 4ED0 jmp [A0]
fn00000438:
00000438 4E56 0000 link A6, 0
0000043C 487A FFE6 pea.l [PC - 0x1A /* 00000424, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000440 2F0E move.l -[A7], A6
00000442 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000446 4EAD 1CE2 jsr [A5 + 0x1CE2 /* export_920 */]
0000044A 4E5E unlink A6
0000044C 2E9F move.l [A7], [A7]+
0000044E 4E75 rts
00000450 4E56 0000 link A6, 0
00000454 2F2E 000C move.l -[A7], [A6 + 0xC]
00000458 4EAD 313A jsr [A5 + 0x313A /* export_1571 */]
0000045C 4E5E unlink A6
0000045E 205F movea.l A0, [A7]+
00000460 504F addq.w A7, 8
00000462 4ED0 jmp [A0]
export_571:
00000464 4E56 0000 link A6, 0
00000468 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000046C 4EAD 1D22 jsr [A5 + 0x1D22 /* export_928 */]
00000470 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000474 4EAD 30CA jsr [A5 + 0x30CA /* export_1557 */]
00000478 487A FFD6 pea.l [PC - 0x2A /* 00000450, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000047C 2F0E move.l -[A7], A6
0000047E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000482 4EAD 1DDA jsr [A5 + 0x1DDA /* export_951 */]
00000486 4E5E unlink A6
00000488 2E9F move.l [A7], [A7]+
0000048A 4E75 rts